package com.lening.community.pojo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @ToDo:
 * @Author：潘万法
 * @date: 2024/6/3 16:12
 */
@TableName("car_area")
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value="车位管理", description="")
public class CarArea implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "pid", type = IdType.AUTO)
    private Long pid;               //车位管理id
    //private String communityName;   //社区名称
    @ExcelProperty("车库名称")
    private Long garageNameId;      //车库名称
    @ExcelProperty("社区id")
    private Long communityId;      //社区id
    @ExcelProperty("车位区域")
    private String parkingSpace;    //车位区域
    @ExcelProperty("车位号")
    private String parkingSpaceNum; //车位号
    @ExcelProperty("车位状态")
    private String parkingSpaceStatu; //车位状态  0使用中  1未使用
    @ExcelProperty("车位面积")
    private Long parkingSpaceAreaId; //车位面积和社区那边的车位面积是外键
    @ExcelProperty("建筑结构外键")
    private String buildingStructureId;//建筑结构外键
    @ExcelProperty("车库区域")
    private String garageArea;      //车库区域
    @ExcelProperty("车库类别")
    private String garageType;      //车库类别
    @ExcelProperty("起始编号")
    private Long satartNum;           //起始编号
    @ExcelProperty("结束编号")
    private Long finshNum;         //结束编号
    @ExcelProperty("前缀名称")
    private String onName;         //前缀名称
    @ExcelProperty("是否删除")
    private Long deleteId;            //1删除   0未删
    @ExcelProperty("绑定业主")
    private Long yid;              //绑定业主
    @ExcelProperty("备注")
    private String remarks;        //备注
}
